<template>
  <view>
    <swiper indicator-dots autoplay style="height: 420rpx;">
      <swiper-item v-for="(item, index) in imgList" :key="index">
        <image :src="item" class="slide-image"></image>
      </swiper-item>
    </swiper>
  </view>
</template>
 
<script>
export default {
  data() {
    return {
      imgList: [
        '/static/slideshow/lunbotu1.png',
        '/static/slideshow/lunbotu2.png',
        '/static/slideshow/lunbotu3.png'
      ]
    }
  }
}
</script>
 
<style>
.slide-image {
  width: 100%;
  height: 420rpx;
}
</style>